package com.incar.chuxing.bean;

import java.util.List;

/**
 * Created by michaelpi on 2018/4/18.
 */

public class OpenedCityListBean {


    /**
     * status : 200
     * message :
     * debug : null
     * attachment : {"cityList":[{"id":1,"areaCode":"131","cityName":"北京","cityIcon":"","longitude":0,"latitude":0},{"id":5,"areaCode":"150","cityName":"石家庄市","cityIcon":"","longitude":0,"latitude":0},{"id":19,"areaCode":"236","cityName":"青岛市","cityIcon":"","longitude":0,"latitude":0},{"id":20,"areaCode":"123","cityName":"test","cityIcon":"","longitude":0,"latitude":0}]}
     */

    private int status;
    private String message;
    private Object debug;
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        private List<CityListBean> cityList;

        public List<CityListBean> getCityList() {
            return cityList;
        }

        public void setCityList(List<CityListBean> cityList) {
            this.cityList = cityList;
        }

        public static class CityListBean {
            /**
             * id : 1
             * areaCode : 131
             * cityName : 北京
             * cityIcon :
             * longitude : 0
             * latitude : 0
             */

            private String id;
            private String areaCode;
            private String cityName;
            private String cityIcon;
            private double longitude;
            private double latitude;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getAreaCode() {
                return areaCode;
            }

            public void setAreaCode(String areaCode) {
                this.areaCode = areaCode;
            }

            public String getCityName() {
                return cityName;
            }

            public void setCityName(String cityName) {
                this.cityName = cityName;
            }

            public String getCityIcon() {
                return cityIcon;
            }

            public void setCityIcon(String cityIcon) {
                this.cityIcon = cityIcon;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }
        }
    }
}
